#pragma once
#include <iostream>
#include<sys/socket.h>
#include<sys/types.h>
#include<arpa/inet.h>
#include<netinet/in.h>
#include<memory.h>
#include<cstring>
#define CONV(addr) ((struct sockaddr*)&addr)

enum class Exitclass
{
    OK = 0,
    USAGE_ERR,
    SOCKET_ERR,
    BIND_ERR
};

int defaultport = 8080;
class Nocopy
{
    public:
    Nocopy()
    {}
    Nocopy(const Nocopy& ) = delete;
    const Nocopy &operator = (const Nocopy&) = delete;
    
};